package cn.edu.sgu.www.mhxysy.service.children.impl;

import cn.edu.sgu.www.mhxysy.entity.children.ChildrenSkillType;
import cn.edu.sgu.www.mhxysy.mapper.children.ChildrenSkillTypeMapper;
import cn.edu.sgu.www.mhxysy.service.children.ChildrenSkillTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Service
public class ChildrenSkillTypeServiceImpl implements ChildrenSkillTypeService {

    private final ChildrenSkillTypeMapper childrenSkillTypeMapper;

    @Autowired
    public ChildrenSkillTypeServiceImpl(ChildrenSkillTypeMapper childrenSkillTypeMapper) {
        this.childrenSkillTypeMapper = childrenSkillTypeMapper;
    }

    @Override
    public List<ChildrenSkillType> selectAll() {
        return childrenSkillTypeMapper.selectAll();
    }

    @Override
    public ChildrenSkillType selectById(Integer id) {
        return childrenSkillTypeMapper.selectById(id);
    }

}